<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../layui/css/layui.css">
</head>
<body>
<form>
	描述：
    <input name="desc" class="layui-input">
    <button type="button" class="layui-btn" id="test1">
        <i class="layui-icon">&#xe67c;</i>选择图片
    </button>
    <button type="button" class="layui-btn" id="btnUpload">开始上传</button>
    <img id="myPic" src="" width="500" />
</form>

<script src="../../layui/layui.js"></script>
<script src="../../js/common.js"></script>
<script>
    layui.use(['upload','layer'], function () {
        var upload = layui.upload;
        var $ = layui.$;
		var layer = layui.layer;
        
		layer.msg(getQueryParam('id'))
    });
</script>
</body>
</html>